.demo3-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  font-family: Arial, sans-serif;
}

.demo3-title {
  text-align: center;
  color: #333;
  margin-bottom: 30px;
}

.demo3-content {
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  background-color: #f9f9f9;
}

.demo3-navbar {
  display: flex;
  background-color: #2196f3;
  padding: 0;
  margin: 0;
}

.demo3-nav-item {
  padding: 15px 20px;
  color: white;
  text-decoration: none;
  transition: background-color 0.3s;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  text-align: center;
}

.demo3-nav-item:hover {
  background-color: #1976d2;
}

.demo3-nav-item.active {
  background-color: #1565c0;
  font-weight: bold;
}

.demo3-page-content {
  padding: 20px;
  background-color: white;
  min-height: 400px;
}

.demo3-page-title {
  color: #2196f3;
  margin-top: 0;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #eee;
}

.demo3-todo-form {
  display: flex;
  margin-bottom: 20px;
}

.demo3-todo-input {
  flex-grow: 1;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px 0 0 4px;
  font-size: 16px;
}

.demo3-todo-add-button {
  padding: 10px 20px;
  background-color: #4caf50;
  color: white;
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  font-size: 16px;
}

.demo3-todo-add-button:hover {
  background-color: #45a049;
}

.demo3-todo-list {
  list-style-type: none;
  padding: 0;
}

.demo3-todo-item {
  display: flex;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s;
}

.demo3-todo-item:hover {
  background-color: #f5f5f5;
}

.demo3-todo-checkbox {
  margin-right: 10px;
  transform: scale(1.2);
}

.demo3-todo-text {
  flex-grow: 1;
  margin: 0;
  transition: all 0.3s;
}

.demo3-todo-text.completed {
  text-decoration: line-through;
  color: #999;
}

.demo3-todo-category {
  margin-right: 15px;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 12px;
  color: white;
}

.demo3-todo-category.work {
  background-color: #f44336;
}

.demo3-todo-category.personal {
  background-color: #2196f3;
}

.demo3-todo-category.shopping {
  background-color: #4caf50;
}

.demo3-todo-actions {
  display: flex;
  gap: 5px;
}

.demo3-todo-view,
.demo3-todo-delete {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.3s;
  padding: 5px;
}

.demo3-todo-view {
  color: #2196f3;
}

.demo3-todo-view:hover {
  color: #1976d2;
}

.demo3-todo-delete {
  color: #f44336;
}

.demo3-todo-delete:hover {
  color: #d32f2f;
}

.demo3-todo-details {
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  margin-top: 20px;
}

.demo3-todo-details h2 {
  margin-top: 0;
  color: #333;
}

.demo3-todo-details-info {
  margin-bottom: 20px;
}

.demo3-todo-details-info p {
  margin: 5px 0;
}

.demo3-todo-details-actions {
  display: flex;
  gap: 10px;
}

.demo3-button {
  padding: 8px 16px;
  background-color: #2196f3;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.demo3-button:hover {
  background-color: #1976d2;
}

.demo3-button.delete {
  background-color: #f44336;
}

.demo3-button.delete:hover {
  background-color: #d32f2f;
}

.demo3-button.back {
  background-color: #757575;
}

.demo3-button.back:hover {
  background-color: #616161;
}

.demo3-stats {
  display: flex;
  justify-content: space-around;
  margin-bottom: 30px;
  text-align: center;
}

.demo3-stat-card {
  padding: 15px;
  background-color: #f5f5f5;
  border-radius: 8px;
  width: 30%;
}

.demo3-stat-number {
  font-size: 36px;
  font-weight: bold;
  color: #2196f3;
  margin: 10px 0;
}

.demo3-stat-label {
  color: #666;
  font-size: 14px;
}

.demo3-not-found {
  text-align: center;
  padding: 50px 0;
}

.demo3-not-found h2 {
  font-size: 36px;
  color: #f44336;
}

.demo3-not-found p {
  margin-bottom: 20px;
  color: #666;
}

.demo3-link {
  background: none;
  border: none;
  color: #2196f3;
  cursor: pointer;
  padding: 0;
  font-size: inherit;
  text-decoration: underline;
}

.demo3-link:hover {
  color: #1976d2;
} 